<?php

/* @var $this yii\web\View */
$this->registerJsFile('/js/jquery.min.js');
$this->registerJsFile('/js/tools.js?v=1.0.1');
$this->registerJsFile('/js/user/identity.js?v=1.0.0');
?>
<div class="layui-tab layui-tab-brief">
  <ul class="layui-tab-title">
    <li class="layui-this">实名认证</li>
  </ul>
</div>
<div class="layui-form p60 pb">	
	<div class="bui-box-align-middle mb10">
		<label class="text-r" style="width: 80px;">姓名:</label>
		<div class="span1 ml30">
			<input type="text" class="layui-input" name="name" id="name"  placeholder="请输入您的真实姓名"/>
		</div>
		<div class="span1"></div>
	</div>
	<div class="bui-box-align-middle mb10">
		<label class="text-r" style="width: 80px;">身份证号码:</label>
		<div class="span1 ml30">
			<input type="text" class="layui-input" name="number" id="number" placeholder="请输入您的身份证号码"/>
		</div>
		<div class="span1"></div>
	</div>
	<div class="bui-box-align-middle mb10">
		<label class="text-r" style="width: 80px;">身份证照片:</label>
		<div class="span1 ml30">
			<div class="layui-upload-drag content">
				<form id="form-front" enctype="multipart/form-data"><input type="file" class="imgInput" name="authimg" id="frontimg"/></form>
				<img id="frontimg-result" src="" class="uploadimg-display"/>
				<div class="info-tips text-c">
					<i class="layui-icon">&#xe624;</i>
					<p class="text-c mb10">身份证正面</p>
				</div>				
			</div>	
			<p class="text-c mt10 info">请横拍身份证人像面，并保证身份证信息清晰可见</p>
		</div>
		<div class="span1 ml10">
			<div class="layui-upload-drag content">
				<form id="form-back" enctype="multipart/form-data">
					<input type="file" class="imgInput" name="authimg" id="backimg"/>
				</form>
				<img id="backimg-result" src="" class="uploadimg-display"/>
				<div class="info-tips text-c">
					<i class="layui-icon">&#xe624;</i>
					<p class="text-c mb10">身份证背面</p>
				</div>				
			</div>	
			<p class="text-c mt10 info">请横拍身份证国徽面，并保证身份证信息清晰可见</p>			
		</div>
	</div>
	<div class="layui-form-item text-c mt30 border-t pt30">
	    <div class="layui-btn layui-btn-normal" id="user-auth-submit">立即认证</div>
	</div>
</div>